﻿using System;

namespace DotNetRepository
{
    [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
    public class EntityCollectionAttribute : Attribute
    {
        public string ForeignKey;
        public bool DeleteOnRemove;

        public EntityCollectionAttribute()
        {
            DeleteOnRemove = true;
        }
    }
}
